home *** CD-ROM | disk | FTP | other *** search
/ Champak 45 / Vol 45.iso / games / escape.swf / scripts / frame_1 / PlaceObject2_57_63 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-23  |  488 b   |  28 lines

  1. onClipEvent(enterFrame){
  2.    if(Key.isDown(40) && _root.chara03.nop1 == 0)
  3.    {
  4.       if(nop3 <= 15)
  5.       {
  6.          nop3 += 1;
  7.          this._height += 0.5;
  8.          this._width += 2;
  9.       }
  10.    }
  11.    else if(nop3 > 0)
  12.    {
  13.       nop3 -= 1;
  14.       this._height -= 0.5;
  15.       this._width -= 2;
  16.    }
  17.    _Y = _root.chara03._y;
  18.    if(_root.chara03.nop1 != 0)
  19.    {
  20.       _width = 30;
  21.       _Y = _global.defY;
  22.    }
  23.    else if(nop3 == 0)
  24.    {
  25.       _width = 35;
  26.    }
  27. }
  28.